package jdbcmapper;

import lotus.domino.Document;
import lotus.domino.Session;

/**
 * <p>Title: JDBC Mapper</p>
 *
 * <p>Description: Libraries to copy documents form Lotus Notes to jdbc
 * table</p>
 *
 * <p>Copyright: Copyright (c) 2005</p>
 *
 * <p>Company: The Salvation ARmy</p>
 *
 * @author Ansel Robateau
 * @version 1.1
 */
public class FieldMap extends NotesDoc{
    public static final String SQLDATABASE = "SQLDatabase";
    public static final String SQLTABLE = "SQLTable";
    public static final String SQLFIELDNAME = "SQLFieldName";
    public static final String SQLFIELDNAMES = "SQLFieldNames";
    public static final String SQLFIELDTYPE = "SQLFieldType";
    public static final String bool_PRIMARYKEY = "PrimaryKey";
    public static final String NOTESDATABASE = "NotesDatabase";
    public static final String NOTESFORM = "NotesForm";
    public static final String NOTESFIELDNAME = "NotesFieldName";
    public static final String NOTESFIELDTYPE = "NotesFieldType";
    public static final String bool_MULTIVALUE = "MultiValue";
    public static final String SQLMULTIVALUETABLENAME = "SQLMultiValueTableName";
    public static final String SPLITDELIMITER = "SplitDelimiter";
    public static final String WORD = "Word";
    private Table m_parent;
    public static final String type_TEXT = "Text";
    public static final String type_INT = "Integer";
    public static final String type_DOUBLE = "Double";
    public static final String type_DATE = "Date";
    public static final String type_TIME = "Time";
    public static final String type_UID = "Universal ID";
    public static final String type_BOOLEANLIST = "Boolean List";
    public static final String type_BOOLEAN = "Boolean";
    public static final String type_NAME = "Name";
    public static final String type_SPLIT = "Split";
	public static final String DATEREF = "DateRef";
	public static final String SQLLENGTH = "SQLLength";
	public static final String type_PARENTUID = "Parent Universal ID";
	public static final String type_ATTACHMENT = "Attachment";
    public FieldMap(Session session,Document doc) {
        super(session,doc);
    }

    /**
     * setParent
     *
     * @param table Table
     */
    public void setParent(Table table) {
        this.m_parent = table;
    }
    public Table getParent(){
        return this.m_parent;
    }
}
